using System;
using System.Collections;
using System.Collections.Generic;
using Me.Prettyprint.Hector.Api.Beans;

namespace Me.Prettyprint.Hector.Api.Query
{
    /// <summary>
    /// A query for the call get_range_slices for subcolumns of supercolumns
    /// </summary>
    /// <typeparam name="K"></typeparam>
    /// <typeparam name="SN"></typeparam>
    /// <typeparam name="N"></typeparam>
    /// <typeparam name="V"></typeparam>
	public interface RangeSubSlicesQuery<K, SN, N, V> : Query<OrderedRows<K, N, V>>
	{
        /// <summary>
        /// Set the keys to query for
        /// </summary>
        /// <param name="start"></param>
        /// <param name="end"></param>
        /// <returns></returns>
        RangeSubSlicesQuery<K, SN, N, V> SetKeys(K start, K end);
        RangeSubSlicesQuery<K, SN, N, V> SetRowCount(int rowCount);
        RangeSubSlicesQuery<K, SN, N, V> SetSuperColumn(SN sc);
        /// <summary>
        /// Set the column names to query
        /// </summary>
        /// <param name="columnNames"></param>
        /// <returns></returns>
        RangeSubSlicesQuery<K, SN, N, V> SetColumnNames(List<N> columnNames);
        RangeSubSlicesQuery<K, SN, N, V> SetRange(N start, N finish, bool reversed, int count);
        RangeSubSlicesQuery<K, SN, N, V> SetColumnFamily(string cf);
	}
}